package com.econ.powercloud.ems.dal.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.econ.powercloud.ems.dal.entity.EmsFault;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * ems故障表 Mapper 接口
 * </p>
 *
 * @author AutoGenerator
 * @since 2022-05-09
 */
public interface EmsFaultMapper extends BaseMapper<EmsFault> {


    Page<EmsFault> selectByConditions(Page page,@Param("id") String id, @Param("faultPid") String faultPid,
                                      @Param("faultType")Integer faultType,
                                      @Param("startTime")Long startTime,@Param("endTime")Long endTime,
                                      @Param("faultName")String faultName,@Param("faultResource")Integer faultResource,@Param("energyStationId")String energyStationId,
                                      @Param("energyEquipmentId")String energyEquipmentId,@Param("deviceCode")String deviceCode,@Param("dealState")Integer dealState,
                                      @Param("companyIds")List<String> companyIds);

}
